<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">
</head>
<body class="childrenBody">
    <form class="layui-form" style="width:80%;">
        <#--  在隐藏域中获取到用户的Id  -->
        <input type="hidden" name="id" value="${(classUser.id)!}" id="id" lay-verify="required"/>
        <#--  在隐藏域中获取到用户的排班状态  -->
        <input type="hidden" name="oldState" value="${(classUser.state)!}" id="oldState"/>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">账号</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" name="userName" id="userName" value="${(classUser.userName)!}" disabled>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="nick" id="nick" value="${(classUser.nick)!}" disabled>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">真实姓名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" name="trueName" id="trueName" value="${(classUser.trueName)!}" disabled>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-xs12">
            <label class="layui-form-label">排班状态</label>
            <div class="layui-input-block">
                <select name="state" id="state">
                    <option value="">请选择</option>
                </select>
            </div>
        </div>

        <br/>
        <div class="layui-form-item layui-row layui-col-xs12">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-lg layui-btn-normal" lay-submit="" lay-filter="update">确认</button>
                <button class="layui-btn layui-btn-lg layui-btn-danger" id="closeBtn">取消</button>
            </div>
        </div>
    </form>
    <script type="text/javascript" src="${path}/js/class/add.update.js"></script>
</body>
</html>
